Method And Apparatus For Reducing Noise In An Image Using Wavelet Decomposition

ABSTRACT

A method of reducing noise in an image comprises decomposing the image to generate wavelet coefficients at different scales. The wavelet coefficients are then modified based on the energy of the wavelet coefficients at the different scales. The image is reconstructed based on the modified wavelet coefficients.

FIELD OF THE INVENTION

The present invention relates generally to image processing and in particular, to a method, apparatus and computer-readable medium embodying a computer program for reducing noise in an image using wavelet decomposition.

BACKGROUND OF THE INVENTION

Digital cameras have an ISO rating identifying their level of sensitivity to light. For most digital cameras, a default ISO 100 setting is normal although some digital cameras have default ISO settings as low as fifty (50). The PENGUIN®digital camera board produced by Seiko Epson Corporation has an ISO range between fourteen (14) and nine-hundred and ten (910) and a default ISO 50 setting. In high-end digital, single-lens reflex (SLR) cameras, even higher ISO settings are available. For example, in some digital SLR cameras, the default ISO setting can be set to 200, 400, 800 or even 3200.

When increasing the ISO setting of a digital camera and hence, its sensitivity to light, the output of the digital camera sensor is amplified and so less light is needed during image capture. Unfortunately, undesired noise is also amplified resulting in more grainy pictures. Noise in general is introduced into images by both the digital camera sensor and the digital camera signal amplifier as a result of particular shooting conditions, image compression etc.

In examining noise in images captured by digital cameras at high ISO settings, it has been found that noise generally takes two forms, namely luminance noise and chromanoise. Luminance noise gives images a grainy look when presented on an electronic display screen but is usually not visible when the images are printed. Chromanoise appears as random red and blue pixels and is typically less visible in images both on-screen and when printed. Chromanoise is most visible in smooth and/or dark areas of images and is more visible in red (R) and blue (B) channels. Chromanoise in the red and blue channels tends to contain more low and very low frequency components due to demosaicing and interpolation. Chromanoise also adversely affects color saturation and contrast.

Many methods to remove noise from images have been considered. Some noise reduction methods, such as for example, anistopic diffusion, assume that white noise has been added to images and compensate for image degradation on the basis of this assumption. Unfortunately, noise in images captured by digital cameras having high ISO settings is not accurately modeled by this noise assumption and thus, these noise reducing methods have proven to be unsatisfactory.

Wavelet methods for removing noise from images have gained in popularity. The Donoho-Johnstone method is a popular and efficient denoising method incorporating wavelets and makes use of soft or hard thresholds. During denoising of an image, the image is wavelet decomposed to generate wavelet coefficients representing the image detail. All of the wavelet coefficients below threshold levels are reduced to zero. Wavelet coefficients exceeding the threshold levels are either unmodified (hard) or reduced (soft). This method has proven to be most successful when the noise in the image generally conforms to expected Gaussian white noise. Unfortunately, this method requires the arbitrary a priori selection of the threshold levels. As a result, depending on the selected threshold levels, if the noise is not white noise, detail in the image may be lost, an insufficient amount of noise may be removed from the image or the noise may be improperly removed from the image.

Other more sophisticated noise reducing algorithms have been considered but these noise reducing algorithms are expensive in terms of processing time. Many of these methods, similar to the anistropic diffusion method referred to above, incorporate assumed noise models and thus, unsuccessfully address noise when the noise does not accurately fit within the noise models.

Still other techniques for reducing noise in images have been considered. For example, U.S. Pat. No. 6,163,619 to Maruo discloses a method in which an input digital image of an object is subjected to a Wavelet transform. An image energy quantity for a combined area of X-axis high pass information and Y-axis high pass information contained in the image data resulting from the Wavelet transform, is calculated. The object is deemed acceptable or faulty depending on whether the image energy quantity is below or above a given value.

U.S. Pat. No. 6,836,569 to Le Pennac et al. discloses a method and apparatus for processing an n-dimensional digitized signal using foveal processing, which constructs a sparse signal representation by taking advantage of the geometrical regularity of signal structures. Foveal coefficients are computed with one-dimensional inner products along trajectories of an n-directional trajectory list. A trajectory finder computes the n-directional trajectory list from the input n-dimensional signals, in order to choose optimal locations to compute the foveal coefficients. From the foveal coefficients, a foveal reconstruction processor recovers a signal approximation which has the same geometrical structures as the input signal along the trajectories and which is regular away from the trajectories. A foveal residue can be calculated as a difference with the input signal. A bandlet processor decorrelates the foveal coefficients by applying invertible linear operators along each trajectory. Bandlet coefficients are inner products between the signal and n-dimensional bandlet vectors elongated along the trajectories. A geometric processor computes geometric coefficients by decorrelating the coordinates of the trajectories with linear operators, to take advantage of their geometrical regularity. Setting small bandlet coefficients and small geometric coefficients to zero yields the sparse signal representation.

U.S. patent application Publication No. 2003/0095206 to Wredenhagen et al. discloses a method for reducing noise in an image. During the method, a plurality of pixels along a predetermined contour is compared with a plurality of predefined patterns. The patterns represent visually significant patterns possible along the contour. A filter is selected from a predefined set of filters in accordance with the results of the comparison.

U.S. patent application Publication No. 2004/0008904 to Lin et al. discloses a process for removing noise in an image by wavelet thresholding utilizing a discrete wavelet transform that decomposes the image into different resolution levels. A thresholding function is then applied in different resolution levels with different threshold values to eliminate insignificant wavelet coefficients which mainly correspond to noise in the image. An inverse discrete wavelet transform is applied to generate a noise-reduced image. The threshold values are based on the relationships between the noise standard deviations at different decomposition levels in the wavelet domain and the noise standard deviation of the image.

U.S. patent application Publication No. 2004/0260169 to Sternnickel discloses a two-part method for non-linear de-noising (NLD) of magneto cardiograph or electrocardiograph time series signals by performing local projections in the reconstructed state space using a wavelet transform to identify and describe deterministic structures. Subspaces generated by deterministic processes are located and separated independently of their sources.

U.S. patent application Publication No. 2004/0268096 to Master et al. discloses a digital imaging apparatus such as a digital camera, scanner, printer or dry copier having an optical sensor, an analog-to-digital converter, a plurality of computational elements, and an interconnection network. The optical sensor converts an object image into a detected image, which is then converted to digital image information by the analog-to-digital converter. The plurality of computational elements comprises a first computational element having a first fixed architecture and a second computational element having a second, different fixed architecture. The interconnection network is capable of providing a processed digital image from the digital image information by configuring and reconfiguring the computational elements in order to perform a plurality of different imaging functions.

U.S. patent application Publication No. 2005/0100237 to Kong et al. discloses a method of filtering pixels in an image, by first partitioning the image into blocks. Edge blocks are then identified. A variance of intensity for each pixel in each edge block is subsequently determined. Each pixel in each edge block is then filtered with a filter that is dependant on the intensity variance of the pixel.

U.S. patent application Publication No. 2005/40100241 to Kong et al. discloses a method for reducing artefacts in an input image. A variance image is generated from the input image. The input image is partitioned into a plurality of blocks of pixels. A set of classifications is defined and includes smooth, texture, and edge classes. A particular class is assigned to each block of pixels of the input image according to the variance image thereby to generate smooth blocks, texture blocks, and edge blocks. A fuzzy filter is applied to each pixel of each edge block.

U.S. patent application Publication No. 2005/0207660 to Edgar discloses a method for removing artefacts to restore a block of data. During the method, one or more original transform coefficients of the data block are received and the original transform coefficients of the data block are quantized. An artefact reduction process is applied to the quantized original transform coefficients and one or more quantized data values representing the transform coefficients as altered by the artefact reduction process is adjusted, if necessary. The artefact reduction process is reapplied and the quantized data values are readjusted, enabling restoration of the block of data.

U.S. patent application Publication No. 2005/0265633 to Piacentino et al. discloses a video processor that uses a low latency pyramid processing technique for fusing images from multiple sensors. The images from the multiple sensors are enhanced, warped into alignment, and then fused with one another in a manner that enables the fusing to occur within a single frame of video, i.e., sub-frame processing. The sub-frame processing results in a sub-frame delay between the moment of image capture and subsequent fused image display.

U.S. patent application Publication No. 2005/0276515 to Shekter discloses an apparatus for analyzing the broadband noise content of a digital image. The apparatus comprises means for automatically identifying regions of originally constant color in the image by analyzing the variance of pixel values of regions of the image. The apparatus further comprises means for automatically detecting and discarding constant color regions deemed to be unrepresentative of the true noise content of the image, including under-exposed and over-exposed regions. Selected constant color regions are then analyzed to generate a parametric or non-parametric model of the noise in the image, including frequency characteristics within and between channels and other characteristics such as phase, which might describe structured noise.

Although image noise reducing techniques are available, improvements are desired. It is therefore an object of the present invention to provide a novel method, apparatus and computer-readable medium embodying a computer program for reducing noise in an image using wavelet decomposition.

SUMMARY OF THE INVENTION

Accordingly, in one aspect there is provided a method of reducing noise in an image comprising:

decomposing the image to generate wavelet coefficients at different scales;

modifying the wavelet coefficients based on the energy of the wavelet coefficients at said different scales; and

reconstructing the image based on the modified wavelet coefficients.

In one embodiment, the modifying is based on normalized inter-scale energy, single scale energy and weighted average single scale energy of the wavelet coefficients. The image is decomposed into wavelet detail spaces at different scales with each wavelet detail space comprising a plurality of wavelet detail subbands and each wavelet detail subband comprising a matrix of wavelet coefficients. The modifying may further be based on an adjustable parameter. The parameter may be manually adjustable and/or may be based on a function of an image capture device.

The decomposing, modifying and reconstructing may be performed automatically upon image capture or downstream following image capture.

The decomposing, modifying and reconstructing may be performed independently on one or more channels of the image. The one or more channels may comprise the Y channel of the image or the red and blue channels of the image.

According to another aspect there is provided an apparatus for reducing noise in an image comprising:

memory storing said image; and

processing structure decomposing the image to generate wavelet coefficients at different scales, modifying the wavelet coefficients based on the energy of the wavelet coefficients at the different scales and reconstructing the image based on the modified wavelet coefficients.

According to yet another aspect there is provided a computer readable medium embodying a computer program for reducing noise in an image, said computer program comprising:

computer program code for decomposing the image to generate wavelet coefficients at different scales;

computer program code for modifying the wavelet coefficients based on the energy of the wavelet coefficients at different scales; and

computer program code for reconstructing the image based on the modified wavelet coefficients.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments will now be described more fully with reference to the accompanying drawings in which:

FIG. 1 is an apparatus for reducing noise in an image using wavelet decomposition;

FIG. 2 is a flowchart showing the steps performed by the apparatus of FIG. 1 in order to reduce noise in an image during execution of a noise reducing application;

FIG. 3A shows a Haar wavelet at scale 1, time 0;

FIG. 3B shows a signal x(u);

FIG. 3C shows the product of the Haar wavelet of FIG. 3A and the signal of FIG. 3B (i.e. the wavelet multiple signal or wavelet coefficient);

FIG. 4A shows the Haar wavelet at scale 2, time 0;

FIG. 4B shows the signal x(u);

FIG. 4C shows the product of the Haar wavelet of FIG. 4A and the signal of FIG. 4B;

FIG. 5A shows the Haar wavelet at scale 1, time 1;

FIG. 5B shows the signal x(u);

FIG. 5C shows the product of the Haar wavelet of FIG. 5A and the signal of FIG. 5B;

FIG. 6 shows a signal x representing a transitional area in an image and corresponding wavelet coefficients at different scales;

FIG. 7 shows an exemplary shrinkage function;

FIGS. 8A to 8N are noise images captured by a digital camera at different ISO settings;

FIGS. 9A to 9H show digital images captured by a digital camera at different ISO settings and corresponding denoised images generated by the apparatus of FIG. 1; and

FIGS. 10A to 10C show another digital image captured by a digital camera and a corresponding denoised image generated by the apparatus of FIG. 1.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Turning now to FIG. 1, an apparatus for reducing noise in an image using wavelet decomposition is shown and is generally identified by reference numeral 40. As can be seen, apparatus 40 comprises a processing unit 44, random access memory (“RAM”) 48, non-volatile memory 52, a communication interface 56, a user interface 64 and a display 68, all in communication over a local bus 72. A noise reduction application is stored in the non-volatile memory 52. The noise reduction application is retrieved from the non-volatile memory 52, loaded into the RAM 48 and executed by the processing unit 44 when the apparatus 40 is used to process images to remove noise therein.

FIG. 2 is a flowchart showing the general method employed by the apparatus 40 in order to reduce noise in an image during execution of the noise reducing application. In this embodiment, the noise reduction application employs wavelet decomposition, wavelet coefficient modification and wavelet reconstruction during the image denoising process. Initially during processing of an image to remove noise, the image is wavelet decomposed using a Haar wavelet into wavelet detail spaces of different scales, with each wavelet detail space comprising a plurality of wavelet detail subbands (step 100). The wavelet detail subbands at each scale represent the details of the image at that scale. Each wavelet detail subband comprises a matrix of wavelet coefficients. Wavelet shrinkage ratios based on the energy feature space of the wavelet coefficients are then generated and normalized (step 102). The normalized wavelet shrinkage ratios are applied to the wavelet coefficients (step 104). By modifying the wavelet coefficients in this manner, noise in the image is suppressed without adversely effecting image details. The modified wavelet coefficients are then reconstructed thereby to yield the noise reduced image (step 106).

Further specifies of the above image denoising technique employed by the apparatus 40 during execution of the noise reducing application will be described. However before doing so, for ease of understanding, a brief discussion of wavelets will firstly be provided. As is well known, the wavelet transformation of an image allows the image to be viewed in multiple resolutions, with each resolution reflecting a different frequency. In digital signal processing terms, the wavelets function as high pass filters. During wavelet transformation of a signal x from u-space to t-space, wavelet coefficients W(j,t) are calculated according to Equation (1) below:

$\begin{matrix} {{W\left( {j,t} \right)} = {\int_{- \infty}^{\infty}{{x(u)}*{\psi_{j}\left( {t - u} \right)}{u}}}} & (1) \end{matrix}$

where:

j is a selected scale or level at time or location t; and

ψ_(j) is the wavelet at scale j.

In this example, wavelet ψ_(j) is a Haar wavelet and is of the form:

${\psi_{j}(x)} = \left\{ \begin{matrix} 1 & {{- j} \leq x < 0} \\ {- 1} & {0 \leq x < j} \\ 0 & {otherwise} \end{matrix} \right.$

As is known, the Haar wavelet is orthonormal and can be used to define a Hilbert basis, that is, a complete orthonormal system for a Hilbert space of square integratable functions. FIGS. 3A to 3C show the calculation of wavelet coefficients at different scales and times for a signal x(u). In FIGS. 3A to 3C, the calculation of wavelet coefficient W(1,0) is illustrated. FIG. 3A shows the Haar wavelet ψ_(j) at scale 1, time 0. FIG. 3B shows the signal x(u). FIG. 3C shows the wavelet multiple signal i.e. the product of Haar wavelet ψ_(j) and signal x(u). FIGS. 4A to 4C show the calculation of wavelet coefficient W(1, 1). FIG. 4A shows the Haar wavelet ψ_(j) at scale 1, time 1. FIG. 4B shows the signal x(u) and FIG. 4C shows the wavelet multiple signal. FIGS. 5A to 5C show the calculation of wavelet coefficient W(2, 0). FIG. 5A shows the Haar wavelet ψ_(j) at scale 2, time 0. FIG. 5B shows the signal x(u) and FIG. 5C shows the wavelet multiple signal. As will be appreciated, at higher scales, the wavelet is stretched and as a result, wavelet coefficients exhibit stronger responses at lower frequency changes.

The wavelet transformation provides a framework for analyzing an image at multiple resolutions, in other words, at multiple scales and locations or times. Energy is preserved in wavelet coefficients according to Equation (2) below:

$\begin{matrix} {{\chi }^{2} = {{\sum\limits_{j = 0}^{J_{o}}{W_{j}}^{2}} + {V_{J_{o}}}^{2}}} & (2) \end{matrix}$

where:

W_(j) is the wavelet detail space at level or scale j;

V_(Jo) is the approximation space at level JO; and

j=1, 2, . . . J_(o).

Thus, for an image, wavelet detail space W_(j) is equal to [W_(j) (x, y)], x=1 . . . N and y=1 . . . M where N and M are width and height of the wavelet detail subband at level j.

The preservation of energy in wavelet coefficients allows wavelet coefficients to be used to measure discontinuities in images. For example, the energy of wavelet coefficients associated with homogenous regions in images is close to zero. The energy of wavelet coefficients associated with high transitional areas in images, such as for example edges (i.e. image detail), is however, very high.

Analyzing the energy of wavelet coefficients at different scales shows that the energy of noise in images and the energy of detail in images, behave differently at higher scales. Specifically, the energy of noise wavelet coefficients at higher scales decreases dramatically while the energy of image detail wavelet coefficients does not.

For example, consider signal e(x) to be white noise having a Gaussian distribution N(0, σ²). The wavelet coefficients of the white noise signal e(x) at scale j and time k are calculated according to Equation (3) below:

$\begin{matrix} {{{We}\left( {j,k} \right)} = {\int_{- \infty}^{\infty}{{e(u)}*{\Psi_{j}\left( {k - u} \right)}{u}}}} & (3) \end{matrix}$

where:

ψ_(j) is the wavelet at scale j.

The energy We of the white noise wavelet coefficients is calculated according to Equation (4) below:

$\begin{matrix} {{{{We}\left( {j,k} \right)}}^{2} = {\int_{- \infty}^{\infty}{\int_{- \infty}^{\infty}{{e(u)}*{\psi_{j}\left( {k - u} \right)}*{e(v)}*{\psi_{j}\left( {k - v} \right)}{u}{v}}}}} & (4) \end{matrix}$

The expected value of the white noise wavelet coefficient energy is calculated according to Equation (5) below:

$\begin{matrix} {{E\left\{ {{{We}\left( {j,k} \right)}}^{2} \right\}} = {\int_{- \infty}^{\infty}{\int_{- \infty}^{\infty}{E\left\{ {{e(u)}{e(v)}} \right\}*{\psi_{j}\left( {k - u} \right)}*{\psi_{j}\left( {k - v} \right)}{u}{v}}}}} & (5) \end{matrix}$

White noise has the following properties:

E{e(u)e(v)}=σ²*δ(u−v)  (6)

Substituting Equation (6) into Equation (5) yields:

$\begin{matrix} \begin{matrix} {{E\left\{ {{{We}\left( {j,k} \right)}}^{2} \right\}} = {\int_{- \infty}^{\infty}{\int_{- \infty}^{\infty}{\sigma^{2}*{\delta \left( {u - v} \right)}*{\psi_{j}\left( {k - u} \right)}*{\psi_{j}\left( {k - v} \right)}{u}{v}}}}} \\ {= {\sigma^{2}{\int_{- \infty}^{\infty}{{{\psi_{j}\left( {k - u} \right)}}^{2}{u}}}}} \\ {= \frac{\sigma^{2}{\psi }^{2}}{2^{j - 1}}} \end{matrix} & (7) \end{matrix}$

From Equation (7) above, it can be seen that the expected value of white noise wavelet coefficient energy drops by 50% at each successive higher scale. However, the energy of image detail wavelet coefficients does not decrease. For example, FIG. 6 shows a signal x representing a transitional area in an image, such as for example an edge, and corresponding wavelet coefficients W₁ and W₂ representing the edge at different scales. The energy of the wavelet coefficients W₁ and W₂ does not decrease at higher scales. The noise reducing technique employed by apparatus 40 makes use of this different wavelet coefficient energy behavior to reduce effectively noise in images as will now be described.

As mentioned previously, at step 100 during processing of an input image to remove noise, the image is initially wavelet decomposed into wavelet detail spaces at different scales, with each wavelet detail space comprising a plurality of wavelet detail subbands. In this embodiment, as a Haar wavelet is employed, at level one (1) the image is initially decomposed into four (4) wavelet subbands, namely high-high (HH), high-low (HL), low-high (LH) and low-low (LL) subbands. The HH, HL and LH subbands represent the wavelet detail subbands at level one (1). The LL subband, which is the low frequency approximation, is then decomposed into HH, HL, LH and LL subbands at the next level two (2). The HH, HL and LH subbands represent the wavelet detail subbands at level two (2). The LL subband is then decomposed into HH, HL, LH and LL subbands at the next level three (3). This process continues until the J₀-th level is reached. The LL subband at this level represents the coarsest approximation of the image and is substantially noise free. As a result, at each level j, a wavelet detail space W_(j) comprising wavelet detail subbands HH, HL and LH and expressed by W_(j)=[W_(j) ^(HH), W_(j) ^(HL), W_(j) ^(LH)] is generated.

At step 102, the feature energy space of the wavelet coefficients is determined. The j-th level wavelet coefficients in the wavelet detail subbands are expressed according to Equation (8) below as:

W _(j)(p)=[W _(j) ^(HH)(p),W _(j) ^(HL)(p), W _(j) ^(LH)(p)]  (8)

where:

-   -   j=1 . . . J₀;     -   p is a point at location (x,y) in the wavelet detail subband;     -   x=1 . . . N

y=1 . . . M; and

N and M are the width and height of the wavelet detail subbands at level j.

The single scale energy SSE_(j)(p) of the wavelet coefficients for each location p in the wavelet detail subbands is calculated according to Equation (9) below:

SSE _(j)(p)=W _(j)(p)*W _(j)(p)=[W _(j) ^(HH)(p)² , W _(j) ^(HL)(p)² , W _(j) ^(LH)(p)²]  (9)

The normalized inter-scale energy NISE_(j)(p) of the wavelet coefficients is also calculated according to Equation (10) below:

$\begin{matrix} {{{NISE}_{j}(p)} = {{{\min \left( {{{W_{j}(p)}},{\alpha*{{W_{j + 1}(p)}}}} \right)}*{W_{j}(p)}} = \left\lbrack \begin{matrix} {{{\min \left( {{{W_{j}^{HH}(p)}},{\alpha*{{W_{j + 1}^{HH}(p)}}}} \right)}*{W_{j}^{HH}(p)}},} \\ {{{\min \left( {{{W_{j}^{HL}(p)}}\alpha*{{W_{j + 1}^{HL}(p)}}} \right)}*{W_{j}^{HL}(p)}},} \\ {{\min \left( {{{W_{j}^{LH}(p)}},{\alpha*{{W_{j + 1}^{LH}(p)}}}} \right)}*{W_{j}^{LH}(p)}} \end{matrix} \right\rbrack}} & (10) \end{matrix}$

where:

-   -   α is the normalization ratio between adjacent scales.         The normalized inter-scale energy term min(|W_(j)(p)|,         α*|W_(j+1)(p)|) in Equation (10) suppresses noise but keeps         image details. This is due to the fact that the above normalized         inter-scale energy term becomes min(|W_(j)|(p)|,         α*|W_(j+1)(p)|)≈|W_(j)(p)|/√{square root over (2)} for noise but         does not change for image details.

In addition to calculating the normalized inter-scale energy of the wavelet coefficients, the spatial relationship of noise and image detail is used to distinguish between image noise and image detail. Noise is spatially grainy while image details are spatially correlated and continuous. Accordingly, the weighted average single scale energy or “neighbor energy” of the wavelet coefficients is calculated according to Equation (11) below:

$\begin{matrix} {{{NeighborEnergy}_{j}(p)} = \frac{\sum\limits_{l \in {N{(p)}}}{{{SSE}_{j}(l)}*{{weight}(l)}}}{\sum\limits_{l \in {N{(p)}}}{{weight}(l)}}} & (11) \end{matrix}$

where:

weight(l) is a weight function equal to one (1); and

N(p) is the neighborhood at location p.

Although in this embodiment, the weight function weight(l) is equal to one (1), those of skill in the art will appreciate that Gaussian or other weight functions based on edge direction etc. may be employed. The feature energy of the wavelet coefficients is calculated according to Equation (12) below:

$\begin{matrix} {{{FeatureEnergy}_{j}(p)} = \left\{ \begin{matrix} {{{NISE}_{j}(p)} + {{NeighborEnergy}_{j}(p)}} & {j < J_{0}} \\ {{{SSE}_{j}(p)} + {{NeighborEnergy}_{j}(p)}} & {j = J_{0}} \end{matrix} \right.} & (12) \end{matrix}$

where:

J_(o) is the highest scale of wavelet decomposition.

For the highest scale, the noise energy is very low and the single scale energy is good enough to distinguish between image noise and image detail.

Once the feature energy space has been determined at step 102, a shrinkage ratio for each of the wavelet coefficients is calculated (step 104) according to Equation (13) below:

Shrinkage_(j)(p)=[Shrinkage_(i) ^(HH)(p), Shrinkage_(j) ^(HL)(p), Shrinkage_(j) ^(LH)(p)]  (13)

where:

${{Shrinkage}_{j}^{HH}(p)} = \left\{ {{\begin{matrix} 1 & {{{FeatureEnergy}_{j}^{HH}(p)} > {K*{TH}_{j}^{HH}}} \\ \frac{\left( {{{FeatureEnergy}_{j}^{HH}(p)} - {K*{TL}_{j}^{HH}}} \right)}{{K*{TH}_{j}^{HH}} - {K*{TL}_{j}^{HH}}} & \; \\ 0 & {{{FeatureEnergy}_{j}^{HH}(p)} < {K*{TL}_{j}^{HH}}} \end{matrix}{{Shrinkage}_{j}^{HL}(p)}} = \left\{ {{\begin{matrix} 1 & {{{FeatureEnergy}_{j}^{HL}(p)} > {K*{TH}_{j}^{HL}}} \\ \frac{\left( {{{FeatureEnergy}_{j}^{HL}(p)} - {K*{TL}_{j}^{HL}}} \right)}{{K*{TH}_{j}^{HL}} - {K*{TL}_{j}^{HL}}} & \; \\ 0 & {{{FeatureEnergy}_{j}^{HL}(p)} < {K*{TL}_{j}^{HL}}} \end{matrix}{{Shrinkage}_{j}^{LH}(p)}} = \left\{ \begin{matrix} 1 & {{{FeatureEnergy}_{j}^{LH}(p)} > {K*{TH}_{j}^{LH}}} \\ \frac{\left( {{{FeatureEnergy}_{j}^{LH}(p)} - {K*{TL}_{j}^{LH}}} \right)}{{K*{TH}_{j}^{LH}} - {K*{TL}_{j}^{LH}}} & \; \\ 0 & {{{FeatureEnergy}_{j}^{LH}(p)} < {K*{TL}_{j}^{LH}}} \end{matrix} \right.} \right.} \right.$

TL_(j)=[TL_(j) ^(JJ), TL_(j) ^(HL), TL_(j) ^(LH)] and TH_(j)=[TH_(j) ^(HH), TH_(j) ^(HL), TH_(j) ^(LH)] are low and high noise profile thresholds for scale j; and

K is a parameter that determines the level of noise reduction. The parameter K may be fixed or adjustable either manually or automatically. In this embodiment, the parameter K is expressed by Equation (14) below:

K=log₂ (ISOsetting/NormalISO)/2  (14)

ISOsetting is the ISO value of the camera used to acquire image; and

NormalISO is the normal ISO setting of the camera.

FIG. 7 shows an exemplary shrinkage ratio.

With the shrinkage ratios calculated at step 104, the shrinkage ratios are then applied to the wavelet coefficients according to Equation (15) below:

$\begin{matrix} {{{ShrinkedW}_{j}(p)} = {{{W_{j}(p)}*{{Shrinkage}_{j}(p)}} = \left\lbrack {{{W_{j}^{HH}(p)}*{{Shrinkage}_{j}^{HH}(p)}},{{W_{j}^{HL}(p)}*{{Shrinkage}_{j}^{HL}(p)}},{{W_{j}^{LH}(p)}*{{Shrinkage}_{j}^{LH}(p)}}} \right\rbrack}} & (15) \end{matrix}$

The modified or “shrunk” wavelet coefficients are then reconstructed to yield the noise reduced images at step 106.

The thresholds TL_(j) and TH_(j) used during calculation of the shrinkage ratios assist in distinguishing between image noise and image detail and to maintain a balance between removing noise and maintaining image detail. If the feature energy calculated for a wavelet coefficient is less than the threshold TL_(j), the wavelet coefficient is deemed to represent noise. If the feature energy calculated for a wavelet coefficient is greater than the threshold TH_(j), the wavelet coefficient is deemed to represent image detail. Noise images are used in this embodiment to select the thresholds TL_(j) and TH_(j) at each scale.

In particular, during determination of the thresholds TL_(j) and TH_(j), noise images at different ISO settings and a ⅓ EV stop were captured using a digital camera employing a Penguin® digital camera board produced by Seiko Epson Corporation as shown in FIGS. 8A and 8N. A 256×256 pixel sub-window of each noise image was extracted and the sub-windows were wavelet decomposed as described above. For each sub-window, the feature energy of each wavelet coefficient was calculated according to Equation (16) below:

FeatureEnergy_(j)(p)=SSE_(j)(p)+NeighborEnergy_(j)(p)  (16)

The feature energy for each wavelet detail subband at each scale over all of the noise image sub-windows was then accumulated. For the HH subband at scale j, the noise energy level at 68% of accumulated feature energy was determined and used as threshold TL_(j) ^(HH). The noise energy level at 98% of the accumulated feature energy of the HH subband was also determined and used as threshold TH_(j) ^(HH). The thresholds TL_(j) ^(HL) TL_(j) ^(LH) TH_(j) ^(HL) and TH_(j) ^(LH) for the HL and LH subbands at scale j were obtained in a similar manner. The thresholds TL_(j) and TH_(j) for each scale were recorded and represent the noise profile of the image capture device for that scale. If desired, a histogram of the noise image feature energy at each scale may also be recorded to form a noise profile.

FIGS. 9A to 9H show digital images captured by a digital camera at different ISO settings and corresponding denoised images generated by the apparatus 40. In particular, FIG. 9A shows an image captured by a digital camera at an ISO setting equal to one-hundred (100) and FIG. 9B shows the corresponding denoised image. FIG. 9C shows an image captured by a digital camera at an ISO setting equal to two-hundred (200) and FIG. 9D shows the corresponding denoised image. FIG. 9E shows an image captured by a digital camera at an ISO setting equal to four-hundred (400) and FIG. 9F shows the corresponding denoised image. FIG. 9G shows an image captured by a digital camera at an ISO setting equal to six-hundred (600) and FIG. 9H shows the corresponding denoised image.

FIGS. 10A and 10C show another digital image captured by a digital camera and the corresponding denoised image generated by the apparatus 40. In this example, a sub-window of pixels in the image of FIG. 10A, as shown in FIG. 10B, is used to determine the thresholds TL_(j) and TH_(j).

In the above embodiment, the entire image is wavelet decomposed and then wavelet reconstructed following modification of the wavelet coefficients based on the energy of the wavelet coefficients. As the noise corruption in the red, green and blue channels is typically different, if desired each channel of the image can be processed separately. Often, in the red and blue channels, the noise level is higher. The Y channel of the image may be used to obtain prior possibilities for edges. Alternatively, when processing color images, the noise reducing technique may be performed only on the Y of the images channel in order to reduce the processing time.

Although use of a Haar wavelet is discussed above, those of skill in the art will appreciate that other wavelets such as for example Daubechies, Coiflets or Symmlet wavelets may be used.

The noise reducing technique is described above in a post-processing environment where images are processed downstream of the equipment used to capture the images. Those of skill in the art will however appreciate that the noise reducing technique may be employed in image capture devices such for example digital cameras, digital video recorders etc. to process and noise reduce images. This image denoising may be performed automatically prior to image display or in response to user input. Those of skill in the art will also appreciate that the noise reducing technique may be used to denoise images captured in a number of fields including for example, astronomy, medical imaging, radar imaging, natural photography etc.

The noise reducing application may run independently or may be incorporated into other available image processing applications to provide enhanced functionality to those applications. The software application may comprise program modules including routines, programs, object components, data structures etc. and be embodied as computer-readable program code stored on a computer-readable medium. The computer-readable medium is any data storage device that can store data, which can thereafter be read by a computer system. Examples of computer-readable medium include for example read-only memory, random-access memory, hard disk drives, magnetic tape, CD-ROMs and other optical data storage devices. The computer-readable program code can also be distributed over a network including coupled computer systems so that the computer-readable program code is stored and executed in a distributed fashion.

Although particular embodiments have been described, those of skill in the art will appreciate that variations and modifications may be made without departing from the spirit and scope thereof as defined by the appended claims. 

1. A method of reducing noise in an image comprising: decomposing the image to generate wavelet coefficients at different scales; modifying the wavelet coefficients based on the energy of the wavelet coefficients at said different scales; and reconstructing the image based on the modified wavelet coefficients.
 2. The method of claim 1 wherein the modifying is based on at least one of inter-scale energy, single scale energy and average single scale energy of said wavelet coefficients.
 3. The method of claim 2 wherein the modifying is based on normalized inter-scale energy, single scale energy and weighted average single scale energy of said wavelet coefficients.
 4. The method of claim 3 wherein during decomposing, said image is decomposed into wavelet detail spaces at different scales, each wavelet detail space comprising a plurality of wavelet detail subbands and each wavelet detail subband comprising a matrix of wavelet coefficients.
 5. The method of claim 4 wherein during the modifying, the feature energy of the wavelet coefficients is determined according to: ${{FeatureEnergy}_{j}(p)} = \left\{ \begin{matrix} {{{NISE}_{j}(p)} + {{NeighborEnergy}_{j}(p)}} & {j < J_{0}} \\ {{{SSE}_{j}(p)} + {{NeighborEnergy}_{j}(p)}} & {j = J_{0}} \end{matrix} \right.$ where NISE_(j)(p) is the normalized inter-scale energy, SSE_(j)(p) is the single scale energy, NeighborEnergy_(j)(p) is the weighted average single scale energy, j is the scale and p is location (x,y) in each wavelet detail subband.
 6. The method of claim 5 wherein said modifying is further based on an adjustable parameter.
 7. The method of claim 6 wherein during said modifying each wavelet coefficient is multiplied by a shrinkage ratio of the form: ${{Shrinkage}_{j}(p)} = \left\{ \begin{matrix} 1 & {{{FeatureEnergy}_{j}(p)} > {K*{TH}_{j}}} \\ \frac{\left( {{{FeatureEnergy}_{j}(p)} - {K*{TL}_{j}}} \right)}{{K*{TH}_{j}} - {K*{TL}_{j}}} & \; \\ 0 & {{{FeatureEnergy}_{j}(p)} < {K*{TL}_{j}}} \end{matrix} \right.$ where K is the adjustable parameter and TH_(j) and TL_(j) are thresholds for scale j.
 8. The method of claim 7 wherein K is of the form: K=log₂ (ISOsetting/NormalISO)/2 where ISOsetting is the ISO value of the image capture device used to capture the image and NormalISO is the typical ISO setting of the image capture device.
 9. The method of claim 8 wherein said thresholds are determined by examining noise images captured at different ISO settings.
 10. The method of claim 1 wherein said decomposing, modifying and reconstructing are performed independently on one or more channels of said image.
 11. The method of claim 10 wherein said one more channels comprises the Y channel of said image.
 12. The method of claim 10 wherein said one or more channels comprises red and blue channels of said image.
 13. The method of claim 9 wherein said thresholds are based on the feature energy of wavelet coefficients of said noise images.
 14. The method of claim 1 wherein said decomposing, modifying and reconstructing are performed automatically upon image capture.
 15. The method of claim 4 wherein said decomposing, modifying and reconstructing are performed automatically upon image capture.
 16. The method of claim 10 wherein the modifying is based on at least one of inter-scale energy, single scale energy and average single scale energy of said wavelet coefficients.
 17. The method of claim 16 wherein the modifying is based on normalized inter-scale energy, single scale energy and weighted average single scale energy of said wavelet coefficients.
 18. The method of claim 17 wherein during decomposing, said image is decomposed into wavelet detail spaces at different scales, each wavelet detail space comprising a plurality of wavelet detail subbands and each wavelet detail subband comprising a matrix of wavelet coefficients.
 19. An apparatus for reducing noise in an image comprising: memory storing said image; and processing structure decomposing the image to generate wavelet coefficients at different scales, modifying the wavelet coefficients based on the energy of the wavelet coefficients at the different scales and reconstructing the image based on the modified wavelet coefficients.
 20. An apparatus according to claim 19 wherein said processing structure modifies the wavelet coefficients based on at least one of inter-scale energy, single scale energy and average single scale energy of the wavelet coefficients.
 21. An apparatus according to claim 20 wherein said processing structure modifies the wavelet coefficients based on normalized inter-scale energy, single scale energy and weighted average single scale energy of the wavelet coefficients.
 22. An apparatus according to claim 21 wherein said processing structure decomposes said image into wavelet detail spaces at different scales, each wavelet detail space comprising a plurality of wavelet detail subbands and each wavelet detail subband comprising a matrix of wavelet coefficient.
 23. An apparatus according to claim 22 wherein the processing structure performs the decomposing, modifying and reconstructing independently on one or more channels of said image.
 24. An apparatus according to claim 22 wherein the apparatus receives said image from an image capture device.
 25. An apparatus according to claim 19 wherein the apparatus is embodied in an image capture device.
 26. An apparatus according to claim 25 wherein said image capture device is a digital camera.
 27. A computer readable medium embodying a computer program for reducing noise in an image, said computer program comprising: computer program code for decomposing the image to generate wavelet coefficients at different scales; computer program code for modifying the wavelet coefficients based on the energy of the wavelet coefficients at different scales; and computer program code for reconstructing the image based on the modified wavelet coefficients. 